/*
 * @描述 往音乐列表适配器中添加音乐
 * @作用 声明添加音乐控制控件类musicListControl
 * @创建者 wsgalaxy<wsgalaxy@163.com>
 */

#ifndef MUSICLISTCONTROL_H
#define MUSICLISTCONTROL_H

#include <QWidget>
#include <QUrl>

class musicListControl : public QWidget
{
    Q_OBJECT

private:
    int wherePointing;              //鼠标是否在音乐添加按钮上
public:
    explicit musicListControl(QWidget *parent = 0);

protected:
    void paintEvent(QPaintEvent *event);
    void mouseMoveEvent(QMouseEvent *event);
    void mousePressEvent(QMouseEvent *event);

signals:
    void musicAddnew(QUrl fileName);    //有新的音乐被添加时发出

public slots:
};

#endif // MUSICLISTCONTROL_H
